<?php
if(!defined("ADMREAD")) exit();
global $sess,$lang,$ADMIN_PERM_ARRAY,$ADMIN_ID,$CHECK_ADMIN;
$block = array();
if (in_array('options',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])) {
    $block['id'] = 'desing';
    $block['title'] = $lang['all_design'];
    $block['link'] = array('design.php?dn=index&ops='.$sess['hash'] => $lang['mod_template'],
    'design.php?dn=blockposit&ops='.$sess['hash'] => $lang['block_posit'],
    'design.php?dn=block&ops='.$sess['hash'] => $lang['opt_manage_block'],
    'design.php?dn=csstpl&ops='.$sess['hash'] => 'CSS &amp; TPL');
}
?>